<%@ page contentType="text/html;charset=UTF-8" %>
<%@include file="/WEB-INF/jsp/common/taglibs.jspf" %>
<div class="col-sm-12 padding">
    <div class="profile-user-info profile-user-info-striped">
        <div class="profile-info-row">
            <div class="profile-info-name">标题：</div>
            <div class="profile-info-value"><span>${calendar.title}</span></div>
        </div>
        <div class="profile-info-row">
            <div class="profile-info-name">开始时间：</div>
            <div class="profile-info-value">
                <span>
                    <fmt:formatDate value="${calendar.startDate}" pattern="yyyy-MM-dd"/>
                    <c:if test="${not empty calendar.startTime}">
                        <fmt:formatDate value="${calendar.startTime}" pattern="HH:mm:ss"/>
                    </c:if>
                </span>
            </div>
        </div>
        <div class="profile-info-row">
            <div class="profile-info-name">结束时间：</div>
            <div class="profile-info-value">
                <span>
                    <fmt:formatDate value="${calendar.endDate}" pattern="yyyy-MM-dd"/>
                    <c:if test="${not empty calendar.endTime}">
                        <fmt:formatDate value="${calendar.endTime}" pattern="HH:mm:ss"/>
                    </c:if>
                </span>
                <c:if test="${empty calenadr.startTime and empty calendar.endTime}">
                    <span>（全天提醒事项）</span>
                </c:if>
            </div>
        </div>
        <div class="profile-info-row">
            <div class="profile-info-name">备注：</div>
            <div class="profile-info-value">
                <span>${calendar.details}</span>
            </div>
        </div>
    </div>
    <div class="col-sm-12 padding center">
        <button id="btnDelete" class="btn btn-sm btn-info" type="button" data-id="${calendar.id}">
            <i class="ace-icon fa fa-check"></i> 删除提醒事项
        </button>&nbsp; &nbsp; &nbsp;
        <button id="btnClose" class="btn btn-sm" type="button">
            <i class="ace-icon fa fa-undo"></i> 关闭窗口
        </button>
    </div>
</div>
